<!--  PAGINATION START  -->
<div class="pagination">
	{*首页*}
	
	{*前一页*}
	{if $pagination->pageNow eq $pagination->pagePre}
		<span class="previous-off"> First Page </span>
		<span class="previous-off"> &laquo; Previous </span> 
	{else}
		<a href="?pager={$pagination->pageFirst}"> First Page </a>
		<a href="?pager={$pagination->pagePre}" class="previous"> &laquo; Previous </a>
	{/if}
	
	{*页码*}
	{section name=num loop=$pagination->totalPages}
		{if $pagination->pageNow eq $smarty.section.num.iteration}
			<span class="active">{$smarty.section.num.iteration}</span>
		{else}
			<a href="?pager={$smarty.section.num.iteration}" > {$smarty.section.num.iteration} </a> 
		{/if}
	{/section}
	
	{*后一页 末页*}
	{if $pagination->pageNow eq $pagination->pageNext}
		<span class="next-off"> Next &raquo; </span>
		<span class="next-off"> Last Page </span>
	{else}
		<a href="?pager={$pagination->pageNext}" class="next"> Next &raquo; </a>
		<a href="?pager={$pagination->pageLast}"> Last Page </a>
	{/if}
</div>
<!--  PAGINATION END  -->
